/**
 *
 */
package asa;

/**
 *  "vire" Expr
 * @author José
 *
 */
public class VireActorStat extends ActorStat {

	public VireActorStat(Expr expr) {
		this.expr = expr;
	}

	/* (non-Javadoc)
	 * @see asa.Statement#genC(asa.PW)
	 */
	@Override
	public void genJava(PWInterface pw) {
		genJava(pw, null);
	}

	/* (non-Javadoc)
	 * @see asa.Statement#genC(asa.PW)
	 */
	@Override
	public void genJava(PWInterface pw, Env env) {

		pw.printIdent("rotate(");
		expr.genJava(pw);
		pw.println(");");
	}

	private Expr expr;
}
